package com.lagou.dao;

import com.lagou.util.JDBCUtils;
import org.apache.commons.dbutils.QueryRunner;

import javax.sql.DataSource;

public class GenericDAO {

    private static DataSource dataSource = JDBCUtils.getDataSource();

    private static QueryRunner runner = new QueryRunner(dataSource);

    public static QueryRunner getRunner() {
        return runner;
    }

}
